package com.supcon.tea.work.questionnaire.domain;

import java.util.List;

/**
 * Created by zhengjian1 on 2017/7/21.
 */
public class Question {
    private Integer id;
    private String title;
    private Integer physiqueType;
    private Integer sex;
    private List<Option> options;

    public Integer getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

    public Integer getPhysiqueType() {
        return physiqueType;
    }

    public Integer getSex() {
        return sex;
    }

    public List<Option> getOptions() {
        return options;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setOptions(List<Option> options) {
        this.options = options;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public void setPhysiqueType(Integer physiqueType) {
        this.physiqueType = physiqueType;
    }

    @Override
    public String toString() {
        return "Question{" +
                "id=" + id +
                ", title='" + title + '\'' +
                ", physiqueType='" + physiqueType + '\'' +
                ", sex='" + sex + '\'' +
                ", options=" + options +
                '}';
    }
}
